package com.ttn.common.core.entity.business;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;


/**
 * 课程单元(CourseUnit)实体类
 *
 * @author makejava
 * @since 2023-01-30 15:57:27
 */
@Data
@Accessors(chain = true)
@TableName("course_unit")
public class CourseUnit implements Serializable {
    private static final long serialVersionUID = 655312376805098265L;
    /**
     * 课程id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 课程单元名称
     */
    private String courseUnitName;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 封面图片
     */
    private String frontCover;
    /**
     * 标题
     */
    private String title;

    /**
     * 单元任务(1词汇2听力3语法4口语，多个用逗号分割)
     */
    private String unitTaskType;
    /**
     * 级别
     */
    private Integer grade;
    /**
     * 排序
     */
    private Integer sort;


}

